import { View } from '@tarojs/components';
import NavBar from '@/components/common/NavBar';
import { useState } from 'react';
import { Search } from '@taroify/icons';
import Waterfall from '@/components/list/waterfall';

export default () => {
  const [key, setKey] = useState(0);
  return (
    <NavBar
      left={<Search size={30} />}
      menu={['推荐', '关注']}
      defaultMenu={key}
    >
      <View>
        <Waterfall />
      </View>
    </NavBar>
  );
};
